package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>
 * 用于存储用户对动态的评论
 * </p>
 *
 * @author EXiaoKe
 * @since 2025-04-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tz_comments")
public class Comment {
    @TableId(type = IdType.AUTO)
    private Long commentId;
    private Long postId;
    private String userId;
    private String content;
    private Date createdAt;
    private Date updatedAt;
}
